﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HeroAttack
{
    //可以对多个接口进行实现
    public class Tank : IAttack, IRole
    {
        public void Attack()
        {
            Console.WriteLine("使用武器近战攻击,物理减伤+10");
        }

        public string GetRoleName()
        {
            return "坦克";
        }
    }
}
